#ifndef XMLHANDLER_H
#define XMLHANDLER_H


//#include "string.h"

//using namespace std;
#include "Ogre.h"
using namespace Ogre;

#include "tinyxml.h"

class XMLHandler
{
private:

public:
	XMLHandler(); 
	~XMLHandler();
	
	void initFile();
	void saveFile(Ogre::String fileName);
	void write_OgreConf();
	//void writeToFile();
	
	TiXmlElement* createParentElement(Ogre::String name);
	TiXmlElement* createChildElement(TiXmlElement *parent,Ogre::String name);

	TiXmlElement * mRootObject;
	TiXmlDocument currentDocument;

};

#endif